package com.hanson.demo.actors;

import lombok.Getter;

public abstract class AbstractActor implements Actor {

	@Getter
	protected ActorCtx ctx;

	@Override
	public void initMail(ActorCtx ctx) throws Exception {
		this.ctx = ctx;
	}

	@Override
	public ActorRef getActorRef() {
		return ctx;
	}
}
